export const routerMap = {
  'Dashboard': [
    '#/login',
    '#/dashboard',
    '#/sysuser',
    '#/doctorPatient'
  ]
}

export function getHeader() {
  debugger
  var hash = window.location.hash
  for (var key in routerMap) {
    var value = routerMap[key]
    for (let i = 0; i < value.length; i++) {
      if (value[i] === hash) {
        return key
      }
    }
  }
  return null
}
